package models

import (
	"gorm.io/gorm"
)

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)" json:"username"`
	Password string `gorm:"type:varchar(50)" json:"password"`
} //门店用户登录
type Shop struct {
	gorm.Model
	ShopName string  `gorm:"type:varchar(50)" json:"shopName"`
	Rent     float64 `gorm:"type:decimal(10,2)" json:"rent"`
	Place    int     `gorm:"type:int(11)" json:"place"`
} //门店详情展示表
